package com.intelligent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 生产入库表
 * @TableName production_warehousing
 */
@TableName(value ="production_warehousing")
@Data
public class ProductionWarehousing implements Serializable {
    /**
     * 记录ID（自增主键）
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 入库单号
     */
    private String warehousingNo;

    /**
     * 入库状态(0 待入库 1 部分入库 2 全部入库)
     */
    private Integer warehousingStatus;

    /**
     * 入库时间
     */
    private Date warehousingTime;

    /**
     * 关联工单号
     */
    private Long workOrderId;

    /**
     * 入库仓库
     */
    private Long warehouseId;

    /**
     * 入库数量
     */
    private Integer quantity;

    /**
     * 入库人
     */
    private Integer uId;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}